﻿using System;
using System.Text;
using InfoJetSoft.Service.Worker;

namespace InfoJetSoft.Service.Util
{
    public class ImageURI
    {
        public string Calendar
        {
            get
            {
                return calendar;
            }

            set
            {
                this.calendar = value;
            }

        }
        public string CollectionArrow
        {
            get
            {
                return collectionArrow;
            }

            set
            {
                this.collectionArrow = value;
            }

        }
        public string MenuGroup
        {
            get
            {
                return menuGroup;
            }

            set
            {
                this.menuGroup = value;
            }

        }
        public string MenuSepLeft
        {
            get
            {
                return menuSepLeft;
            }

            set
            {
                this.menuSepLeft = value;
            }

        }
        public string MenuSepMiddle
        {
            get
            {
                return menuSepMiddle;
            }

            set
            {
                this.menuSepMiddle = value;
            }

        }
        public string MenuSepRight
        {
            get
            {
                return menuSepRight;
            }

            set
            {
                this.menuSepRight = value;
            }

        }
        public string OptionalArrow
        {
            get
            {
                return optionalArrow;
            }

            set
            {
                this.optionalArrow = value;
            }

        }
        public string Transparent
        {
            get
            {
                return transparent;
            }

            set
            {
                this.transparent = value;
            }

        }

        public string Start
        {
            get
            {
                return this.start;
            }
        }

        public string MenuCheck
        {
            get
            {
                return this.menuCheck;
            }
        }

        public string PictureButtonPlaceholder
        {
            get
            {
                return this.pictureButtonPlaceholder;
            }
        }

        public string HyperlinkBox
        {
            get
            {
                return this.hyperlinkBox;
            }
        }

        public string AddressBook
        {
            get
            {
                return this.addressBook;
            }
        }

        public string Delete
        {
            get
            {
                return this.delete;
            }
        }

        public string SignatureAdd
        {
            get
            {
                return this.signatureAdd;
            }
        }

        public string SignatureDelete
        {
            get
            {
                return this.signatureDelete;
            }
        }

        public string SignatureDetails
        {
            get
            {
                return this.signatureDetails;
            }
        }

        public string Dropdown
        {
            get
            {
                return this.dropdown;
            }
        }

        public string PicturePlaceholder
        {
            get
            {
                return this.picturePlaceholder;
            }
        }

        public string FileSmallPlaceholder
        {
            get
            {
                return this.fileSmallPlaceholder;
            }
        }

        public string FileBigPlaceholder
        {
            get
            {
                return this.fileBigPlaceholder;
            }
        }

        private string menuSepLeft = null;
        private string menuSepMiddle = null;
        private string menuSepRight = null;
        private string menuGroup = null;
        private string transparent = null;
        private string optionalArrow = null;
        private string collectionArrow = null;
        private string calendar = null;
        //CID 0640 //2010.08.11 //Begin
        private string start = null;
        private string menuCheck = null;
        private string pictureButtonPlaceholder = null;
        private string hyperlinkBox = null;
        //CID 0640 //2010.08.11 //End
        //CID 0656 //2010.10.17 //Begin
        private string addressBook = null;
        private string delete = null;
        //CID 0656 //2010.10.23 //End
        //CID 0749 //2011.08.30 //Begin
        private string signatureAdd = null;
        private string signatureDelete = null;
        private string signatureDetails = null;
        //CID 0749 //2011.09.16 //End
        //CID 0800 //2012.03.13 //Begin
        private string dropdown = null;
        //CID 0800 //2012.03.13 //End
        //CID 1422 //2012.10.30 //Begin
        private string picturePlaceholder = null;
        //CID 1422 //2012.10.30 //End
        //CID 1423 //2012.11.01 //Begin
        private string fileSmallPlaceholder = null;
        private string fileBigPlaceholder = null;
        //CID 1423 //2012.11.01 //End

        public ImageURI(string webContext)
        {
            //CID 0640 //2010.08.11 //Begin
            this.start = webContext + "images/";
            //CID 0640 //2010.08.11 //End

            StringBuilder leftBuffer = new StringBuilder();
            leftBuffer.Append("background-image:url('");
            leftBuffer.Append(this.Start);
            leftBuffer.Append("infojet_separator_left.gif');height:7px;");
            leftBuffer.Append(XSNManifestMenuBuildWorker.MarginSize);
            this.menuSepLeft = leftBuffer.ToString();

            StringBuilder middleBuffer = new StringBuilder();
            middleBuffer.Append("background-image:url('");
            middleBuffer.Append(this.Start);
            middleBuffer.Append("infojet_separator_middle.gif');height:7px;");
            middleBuffer.Append(XSNManifestMenuBuildWorker.TextSize);
            this.menuSepMiddle = middleBuffer.ToString();

            StringBuilder rightBuffer = new StringBuilder();
            rightBuffer.Append("background-image:url('");
            rightBuffer.Append(this.Start);
            rightBuffer.Append("infojet_separator_middle.gif');height:7px;");
            rightBuffer.Append(XSNManifestMenuBuildWorker.MarginSize);
            this.menuSepRight = rightBuffer.ToString();

            StringBuilder groupBuffer = new StringBuilder();
            groupBuffer.Append(this.Start);
            groupBuffer.Append("infojet_menu_group.gif");
            this.menuGroup = groupBuffer.ToString();

            StringBuilder transparentBuffer = new StringBuilder();
            transparentBuffer.Append(this.Start);
            transparentBuffer.Append("infojet_transparent.gif");
            this.transparent = transparentBuffer.ToString();

            StringBuilder optionalBuffer = new StringBuilder();
            optionalBuffer.Append(this.Start);
            optionalBuffer.Append("infojet_optional_arrow.gif");
            this.optionalArrow = optionalBuffer.ToString();

            StringBuilder collectionBuffer = new StringBuilder();
            collectionBuffer.Append(this.Start);
            collectionBuffer.Append("infojet_collection_arrow.gif");
            this.collectionArrow = collectionBuffer.ToString();

            StringBuilder calendarBuffer = new StringBuilder();
            calendarBuffer.Append(this.Start);
            calendarBuffer.Append("infojet_calendar.gif");
            this.calendar = calendarBuffer.ToString();

            //CID 0640 //2010.08.11 //Begin
            this.menuCheck = this.Start + "infojet_menu_check.gif";
            this.pictureButtonPlaceholder = this.Start + "infojet_picturebutton_placeholder.gif";
            this.hyperlinkBox = this.Start + "infojet_hyperlinkbox.gif";
            //CID 0640 //2010.08.11 //End

            //CID 0656 //2010.10.17 //Begin
            this.addressBook = this.Start + "infojet_addressbook.gif";
            this.delete = this.Start + "infojet_red_delete.gif";
            //CID 0656 //2010.10.23 //End

            //CID 0749 //2011.08.30 //Begin
            this.signatureAdd = this.Start + "infojet_signature_add.gif";
            this.signatureDelete = this.Start + "infojet_signature_delete.gif";
            this.signatureDetails = this.Start + "infojet_signature_details.gif";
            //CID 0749 //2011.09.16 //End

            //CID 0800 //2012.03.13 //Begin
            this.dropdown = this.Start + "infojet_dropdown.gif";
            //CID 0800 //2012.03.13 //End

            //CID 1422 //2012.10.30 //Begin
            this.picturePlaceholder = this.Start + "infojet_picture_placeholder.gif";
            //CID 1422 //2012.10.30 //End

            //CID 1423 //2012.11.01 //Begin
            this.fileSmallPlaceholder = this.Start + "infojet_file_small_placeholder.gif";
            this.fileBigPlaceholder = this.Start + "infojet_file_big_placeholder.gif";
            //CID 1423 //2012.11.01 //End
        }
    }
}